unit SaveConfirm;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, StdCtrls;

type
  TSaveConfirmForm = class(TForm)
    Label1: TLabel;
    Button1: TButton;
    Button2: TButton;
    Button3: TButton;
    procedure FormCreate(Sender: TObject);
    procedure Button3Click(Sender: TObject);
  private
    { Private declarations }
  public
    AllwaysYes: Boolean;
  end;

var
  SaveConfirmForm: TSaveConfirmForm;

implementation

{$R *.dfm}

procedure TSaveConfirmForm.Button3Click(Sender: TObject);
begin
  AllwaysYes := True;
end;

procedure TSaveConfirmForm.FormCreate(Sender: TObject);
begin
  AllwaysYes := False;
end;

end.
